package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveService extends IService<AdSensitive> {
    //根据名称分页查询敏感词列表
    public ResponseResult list(SensitiveDto sensitiveDto);
    //新增敏感词
    public ResponseResult insert(AdSensitive adSensitive);
    //修改敏感词
    public ResponseResult update(AdSensitive adSensitive);
    //删除敏感词
    public ResponseResult deleteById(Integer id);
}
